package com.ztx.access;

import org.springframework.data.redis.core.RedisTemplate;
import org.springframework.data.redis.core.SetOperations;

import java.util.Set;

public class AccessControl {
    private RedisTemplate<String, String> redisTemplate;
    private SetOperations<String, String> setOperations;

    public AccessControl(RedisTemplate<String, String> redisTemplate) {
        this.redisTemplate = redisTemplate;
        this.setOperations = redisTemplate.opsForSet();
    }


}
